package com.example.demo2.entity;

import java.util.Date;

public class Passenger {


    private String firstname;

    private String surname;

    private int BookingNum;

    private int id;

    private String Flight;

    private Date date;

    private String departureTime;

    private String arrivingTime;

    private String duration;

    private String destination;

    private int creditCard;

    private int creditCode;

    private int seatNum;

    private String Class;

    private String gate;

    private int boardingTime;

    private int cz;

    private int badDrop;

    private String bag;

    private boolean isVIP;

    private boolean isExtraleg;

    private boolean isNormalFood;

    private boolean isRofresh;

    private boolean isSeaFood;

    private String other;

    public String getFirstname() {
        return firstname;
    }

    public void setFirstname(String firstname) {
        this.firstname = firstname;
    }

    public String getSurname() {
        return surname;
    }

    public void setSurname(String surname) {
        this.surname = surname;
    }

    public int getBookingNum() {
        return BookingNum;
    }

    public void setBookingNum(int bookingNum) {
        BookingNum = bookingNum;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getFlight() {
        return Flight;
    }

    public void setFlight(String flight) {
        Flight = flight;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getDepartureTime() {
        return departureTime;
    }

    public void setDepartureTime(String departureTime) {
        this.departureTime = departureTime;
    }

    public String getArrivingTime() {
        return arrivingTime;
    }

    public void setArrivingTime(String arrivingTime) {
        this.arrivingTime = arrivingTime;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public String getDestination() {
        return destination;
    }

    public void setDestination(String destination) {
        this.destination = destination;
    }

    public int getCreditCard() {
        return creditCard;
    }

    public void setCreditCard(int creditCard) {
        this.creditCard = creditCard;
    }

    public int getCreditCode() {
        return creditCode;
    }

    public void setCreditCode(int creditCode) {
        this.creditCode = creditCode;
    }

    public int getSeatNum() {
        return seatNum;
    }

    public void setSeatNum(int seatNum) {
        this.seatNum = seatNum;
    }

    public String getTheClass() {
        return Class;
    }

    public void setTheClass(String aClass) {
        Class = aClass;
    }

    public String getGate() {
        return gate;
    }

    public void setGate(String gate) {
        this.gate = gate;
    }

    public int getBoardingTime() {
        return boardingTime;
    }

    public void setBoardingTime(int boardingTime) {
        this.boardingTime = boardingTime;
    }

    public int getCz() {
        return cz;
    }

    public void setCz(int cz) {
        this.cz = cz;
    }

    public int getBadDrop() {
        return badDrop;
    }

    public void setBadDrop(int badDrop) {
        this.badDrop = badDrop;
    }

    public String getBag() {
        return bag;
    }

    public void setBag(String bag) {
        this.bag = bag;
    }

    public boolean isVIP() {
        return isVIP;
    }

    public void setVIP(boolean VIP) {
        isVIP = VIP;
    }

    public boolean isExtraleg() {
        return isExtraleg;
    }

    public void setExtraleg(boolean extraleg) {
        isExtraleg = extraleg;
    }

    public boolean isNormalFood() {
        return isNormalFood;
    }

    public void setNormalFood(boolean normalFood) {
        isNormalFood = normalFood;
    }

    public boolean isRofresh() {
        return isRofresh;
    }

    public void setRofresh(boolean rofresh) {
        isRofresh = rofresh;
    }

    public boolean isSeaFood() {
        return isSeaFood;
    }

    public void setSeaFood(boolean seaFood) {
        isSeaFood = seaFood;
    }

    public String getOther() {
        return other;
    }

    public void setOther(String other) {
        this.other = other;
    }

    @Override
    public String toString() {
        return "Passenger{" +
                "firstname='" + firstname + '\'' +
                ", surname='" + surname + '\'' +
                ", BookingNum=" + BookingNum +
                ", id=" + id +
                ", Flight='" + Flight + '\'' +
                ", date=" + date +
                ", departureTime='" + departureTime + '\'' +
                ", arrivingTime='" + arrivingTime + '\'' +
                ", duration='" + duration + '\'' +
                ", destination='" + destination + '\'' +
                ", creditCard=" + creditCard +
                ", creditCode=" + creditCode +
                ", seatNum=" + seatNum +
                ", Class='" + Class + '\'' +
                ", gate='" + gate + '\'' +
                ", boardingTime=" + boardingTime +
                ", cz=" + cz +
                ", badDrop=" + badDrop +
                ", bag='" + bag + '\'' +
                ", isVIP=" + isVIP +
                ", isExtraleg=" + isExtraleg +
                ", isNormalFood=" + isNormalFood +
                ", isRofresh=" + isRofresh +
                ", isSeaFood=" + isSeaFood +
                ", other='" + other + '\'' +
                '}';
    }
}
